package com.sftz.assets.entities.question;

import java.io.Serializable;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

@Data
@Table("homework_question_answer")
public class HomeworkQuestionAnswerEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("用户id")
	private Integer studentId;

	@Column
	@Comment("用户昵称")
	private String studentName;

	@Column
	@Comment("作业试题Id")
	private Integer questionId;

	@Column
	@Comment("答题内容")
	private String answerContent;

	@Column
	@Comment("批注")
	private String postil;

	@Column
	@Comment("作业id")
	private Integer homeworkId;

	@Column
	@Comment("用户答题记录id")
	private Integer answerId;

	@Column
	@Comment("题目总分")
	private Integer score;

	@Column
	@Comment("实际得分")
	private Double actualScore;

}